package com.bkgy.modular.tpdidata_cal1630.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bkgy.modular.tpdidata_cal1630.entity.TPdiCall1630Data_bao;
import com.bkgy.modular.tpdidata_cal1630.entity.TPdiDataCal1630;
import com.bkgy.modular.tpdidata_cal1630.entity.TPdiDataCal1630Resp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author dell
* @description 针对表【T_PDI_DATA_CAL1630(2150连退生产计划表)】的数据库操作Mapper
* @createDate 2025-04-08 15:27:02
* @Entity com.bkgy.modular.tpdidata_cal1630.entity.TPdiDataCal1630
*/
@Mapper
public interface TPdiDataCal1630Mapper extends BaseMapper<TPdiDataCal1630> {

    IPage<TPdiDataCal1630Resp> findDataByPage(Page<?> page,
                                              @Param("condition") Object condition);

    /**
     * 拉取宝信数据
     * @param toc
     * @return
     */
    //@DS("db2_BAO_CAL1630")
    List<TPdiCall1630Data_bao> getCal1630_pdi_bao(@Param("toc") String toc);

    List<TPdiDataCal1630Resp> findSteelGradeByInDocNo(@Param("condition") TPdiDataCal1630 condition);
}




